import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select

driver = webdriver.Chrome()
driver.get('https://sahitest.com/demo/selectTest.htm')
s1 = driver.find_element(By.ID,'s1')
s1 = Select(s1)
#index
s1.select_by_index(1)
time.sleep(2)
#value
s1.select_by_value('46')
#text
s1.select_by_visible_text('Email')


